IHipFileSystemInteraction.read

onSuccess: Maybe be executed before the function returns (on sync platforms).

onError: Error is reserved for when the file exists but can't be read. Not being able to read because it doesn't exists is not an error.

interface IHipFileSystemInteraction
bool
read
(
string path
,
void delegate
(
ubyte[] data
)
onSuccess
,
void delegate
(
string err = "Corrupted File"
)
onError
)

Return Value

Type: bool

- Sync Platforms: File does not exists, can't read. - Async platforms: File does not exists

Meta